package com.sdb.clinic.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sdb.common.annotation.Excel;
import com.sdb.common.core.domain.BaseEntity;

/**
 * 挂号对象 td_register
 * 
 * @author yyh
 * @date 2025-01-08
 */
public class TdRegister extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 挂号id */
    private Long registerId;

    /** 就诊id */
    private String clinicId;

    /** 就诊卡号 */
    @Excel(name = "就诊卡号")
    private String cardId;

    /** 病人id */
    private Long patientId;

    /** 病人姓名 */
    @Excel(name = "病人姓名")
    private String patientName;

    /** 医生id */
    private Long docterId;

    /** 医生姓名 */
    @Excel(name = "医生姓名")
    private String docterName;

    /** 科室id */
    @Excel(name = "科室id")
    private Long departmentId;

    /** 挂号科室 */
    @Excel(name = "挂号科室")
    private String departmentName;

    /** 排班表id */
    private String scheduleId;

    /** 挂号时间段 */
    @Excel(name = "挂号时间段")
    private Long time;

    /** 普通挂号/预约挂号 */
    @Excel(name = "普通挂号/预约挂号")
    private Long type;

    /** 挂号状态 */
    @Excel(name = "挂号状态")
    private Long status;

    /** 患者性别 */
    private String patientSex;

    public void setRegisterId(Long registerId) 
    {
        this.registerId = registerId;
    }

    public Long getRegisterId() 
    {
        return registerId;
    }

    public String getClinicId() {
        return clinicId;
    }

    public void setClinicId(String clinicId) {
        this.clinicId = clinicId;
    }

    public void setCardId(String cardId)
    {
        this.cardId = cardId;
    }

    public String getCardId() 
    {
        return cardId;
    }
    public void setPatientId(Long patientId) 
    {
        this.patientId = patientId;
    }

    public Long getPatientId() 
    {
        return patientId;
    }
    public void setPatientName(String patientName) 
    {
        this.patientName = patientName;
    }

    public String getPatientName() 
    {
        return patientName;
    }
    public void setDocterId(Long docterId) 
    {
        this.docterId = docterId;
    }

    public Long getDocterId() 
    {
        return docterId;
    }
    public void setDocterName(String docterName) 
    {
        this.docterName = docterName;
    }

    public String getDocterName() 
    {
        return docterName;
    }
    public void setDepartmentId(Long departmentId) 
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId() 
    {
        return departmentId;
    }
    public void setDepartmentName(String departmentName) 
    {
        this.departmentName = departmentName;
    }

    public String getDepartmentName() 
    {
        return departmentName;
    }
    public void setScheduleId(String scheduleId) 
    {
        this.scheduleId = scheduleId;
    }

    public String getScheduleId() 
    {
        return scheduleId;
    }
    public void setTime(Long time) 
    {
        this.time = time;
    }

    public Long getTime() 
    {
        return time;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public String getPatientSex() {
        return patientSex;
    }

    public void setPatientSex(String patientSex) {
        this.patientSex = patientSex;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("registerId", getRegisterId())
            .append("cardId", getCardId())
            .append("patientId", getPatientId())
            .append("patientName", getPatientName())
            .append("docterId", getDocterId())
            .append("docterName", getDocterName())
            .append("departmentId", getDepartmentId())
            .append("departmentName", getDepartmentName())
            .append("scheduleId", getScheduleId())
            .append("createTime", getCreateTime())
            .append("time", getTime())
            .append("type", getType())
            .append("status", getStatus())
                .append("patientSex", getPatientSex())
                .append("clinicId", getClinicId())
            .toString();
    }
}
